package com.yao.enums;

import lombok.Getter;

/**
 * User: 姚宏武
 * Date: 2017/11/18
 * Time: 10:34
 * Email：401369870@qq.com
 * Description: 订单状态枚举
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{
    NEW(0, "新订单"),
    FINISH(1, "已完结"),
    CANCEL(2, "已取消");

    private Integer code;

    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
